@font-face {
    font-family: 'MyFont';
    src: url('../font/myfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.coolinput {
    display: flex;
    flex-direction: column;
    width: fit-content;
    position: static;
    max-width: 240px;
}

.coolinput label.text {
    font-size: 0.75rem;
    color: #cadefc;
    font-weight: 700;
    position: relative;
    top: 0.5rem;
    margin: 0 0 0 7px;
    padding: 0 3px;
    background: #e8e8e8;
    width: fit-content;
}

.coolinput input.input {
    padding: 11px 10px;
    font-size: 0.75rem;
    border: 2px #cadefc solid;
    border-radius: 5px;
    background: #e8e8e8;
}

.coolinput input.input:focus {
    outline: none;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'MyFont';
}


#background {
    width: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.background {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap:wrap;
    background-image: url("../back2.jpg");
}

.mj {
    background-image: url("../mj1.png");
    max-width: 134px;
    max-height: 99px;
    width: calc(134px);
    height: calc(99px);
    background-size: cover;

    position: absolute;
    top: 40%;
    left: 30%;
    margin-top: 30px;
}

.userlogin_border {
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px) brightness(90%);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 20px 70px 30px 70px;
}

.top {
    margin-bottom: 15px;
    color: #8785a2;
    align-content: center;
    justify-content: center;
    display: flex;
}

.login {
    flex-direction: row;
    justify-content: center;
    align-items: normal;
    flex-wrap: wrap;
    align-content: center;
    display: flex;
}

.user {
    flex-direction: row;

}

/* 按键样式 */
.btn {
    outline: 0;
    background: #666374;
    min-width: 120px;
    border: 0;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    padding: 16px 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
}

.btn:hover {
    background-color: #aa96da;
}

.btn .animation {
    border-radius: 100%;
    animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
    }
}
#username{
    position: absolute;
    font-size: 20px;
    right: 20px;
    top:10px;
}
/* 加载动画 */
@keyframes rotation {  
    0% {  
        transform: rotate(0deg);  
    }  
    100% {  
        transform: rotate(360deg);  
    }  
}  
  
#loader-container {  
    position: fixed;  
    top: 50%;  
    left: 50%;  
    transform: translate(-50%, -50%);  
    /* 可选：添加z-index以确保它在其他内容之上 */  
    z-index: 9999;  
    display: flex;  
    justify-content: center;  
    align-items: center;  
}  
  
#loader-5 {  
    width: 80px;  
    height: 80px;  
    border: 5px solid #00afee;  
    border-radius: 50%;  
    animation: rotation 1s linear infinite;  
  
    &::after {  
        content: "";  
        position: absolute;  
        left: 50%;  
        top: 50%;  
        transform: translate(-50%, -50%);  
        width: 92px;  
        height: 92px;  
        border-radius: 50%;  
        border: 5px solid;  
        border-color: #90cf5b transparent;  
    }  
}

.switch_border {
    margin-top:48px;
    margin-left:2px;
    margin-right:2px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    backdrop-filter: blur(6px) brightness(105%);
    background-color: rgba(255, 255, 255, 0.37);
    border-radius: 31px;
    width: 700px;
    height: 350px;
}
p{
    margin: 15px;
    display: flex;
    font-size: 25px; 
}
/* card样式 */
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  .container .glass {
    position: relative;
    width: 160px;
    height: 180px;
    background: linear-gradient(#fff2, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 10px;
    margin: 0 -45px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
    
  }
  [data-text] {
    font-weight: bold;
    font-size: 1.7em;
  }
  .container:hover .glass {
    transform: rotate(0deg);
    margin: 0 10px;
  }
  
  .container .glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #46cdcf;
  }
  .container .glass svg {
    font-size: 2.5em;
    font-weight: bold;
    fill: #46cdcf;
  }

  /* 开关样式 */
  /* The switch - the box around the slider */
.switch {
    font-size: 1rem;
    position: relative;
    display: inline-block;
    width: 4em;
    height: 2em;
   }
   
   /* Hide default HTML checkbox */
   .switch input {
    opacity: 0;
    width: 0;
    height: 0;
   }
   
   /* The slider */
   .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #eee;
    transition: 0.4s;
    border-radius: 0.5em;
    box-shadow: 0 0.2em #dfd9d9;
   }
   
   .slider:before {
    position: absolute;
    content: "";
    height: 1.5em;
    width: 1.4em;
    border-radius: 0.3em;
    left: 0.3em;
    bottom: 0.7em;
    background-color: lightsalmon;
    transition: 0.4s;
    box-shadow: 0 0.4em #bcb4b4;
   }
   
   .slider:hover::before {
    box-shadow: 0 0.2em #bcb4b4;
    bottom: 0.5em;
   }
   
   input:checked+.slider:before {
    transform: translateX(2em);
    background: lightgreen;
   }
/*  */
.tab{
    /* margin: 0;s */
    margin: 0 20px 0  20px;
    display: flex;
}
.switch_tab{
    display: flex;
    justify-content: space-around;
    align-content: center;
    margin: 5px;
}
  
.limit {
    height: 10px;
    width: 40px;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 1em;
    background-color:#eeeeee;
    box-shadow: inset 2px 5px 10px rgba(0,0,0,0.1);
    transition: 300ms ease-in-out;
  }
  
  .limit:focus {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 13px 13px 100px #969696,
               -13px -13px 100px #ffffff;
  }



 